<?php

namespace App\Http\Model;

use Illuminate\Database\Eloquent\Model;

use DB;

class Menu extends Model
{
    protected $table='menu';
    protected $guarded=[];
    public function goods(){
        return $this->hasMany('App\Http\Model\Goods', "menu_id")->where("status", 1)->orderBy('created_at','desc');
    }
}
